package com.itheima.mydemo.test2;

public class Test2 {
    public static void main(String[] args) {
        System.out.println(Outer.age);
        Outer.Inner2 inner2 =new Outer.Inner2();
    }
}
class Outer{
    private String name;
    public void method(){
        System.out.println(name);
        Inner inner = new Inner();
        System.out.println(inner.id);
    }
    private class Inner{
        String id;
    }
    static int age = 10;
    static class Inner2{
        String id;
    }
}